<!--<include file="Core_Extend::template('header')" />-->

<!--{script}-->
function deleteGroupIcon(id){
	if(!id){
		windsforceAlert(Q.L('请选择操作项','Common'),'',3);
		return false;
	}

	windsforceConfirm(Q.L('确实要永久删除选择项吗？','Common'),function(){
		Q.AjaxSend(Q.U('group://groupadmin/icon_delete?gid='+id),'ajax=1','',completeDelete);
	});
}

function completeDelete(data,status){
	if(status==1){
		setTimeout("window.location.replace(_SELF_);",1000);
	}
}
<!--{/script}-->

		<div class="container_12">
			<ul class="breadcrumb">
				<li><a href="<!--{:__APP__}-->" title="<!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>-->"><!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
				<li><a href="<!--{:Q::U('[D]~@group://public/index')}-->" title="<!--<lang package='Template'>-->小组<!--</lang>-->"><!--<lang package='Template'>-->小组<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
				<li><a href="<!--{:Group_Extend::getGroupurl($arrGroup)}-->"><!--{$arrGroup.group_nikename}--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
				<li><!--<lang package='Template'>-->小组图标设置<!--</lang>--></li>
			</ul>
		</div>

		<div class="container_12 container_box">
			<!--<include file="group+header" />-->
			<!--<include file="groupadmin+menu" />-->
			
			<div class="grid_12" style="margin-top:20px;">
				<div class="container_12">
					<div class="grid_12">
						<form enctype="multipart/form-data" action="<!--{:Q::U('group://groupadmin/icon_add')}-->" method="post" id="groupAdd" class="form-horizontal">
							<div class="control-group">
								<label class="control-label" for="group_headerbg"><!--<lang package='Template'>-->群组图标<!--</lang>--> <!--{if !empty($arrGroup['group_icon'])}-->[<a href="javascript:void(0);" onclick="deleteGroupIcon('<!--{$arrGroup['group_id']}-->')"><!--<lang package='__COMMON_LANG__@Common'>-->删除<!--</lang>--></a>]<!--{/if}--></label>
								<div class="controls">
									<input type="file" name="icon[]" id="icon" size="40" />
									<p class="help-block"><!--<lang package='Template'>-->自动缩略成 120 X 120 像素大小的图片<!--</lang>-->&nbsp;(<!--<lang package='Template'>-->当前最大上传尺寸<!--</lang>--> <!--{:C::changeFileSize($nUploadSize)}-->)<br/>
									<img src="<!--{$sGroupIcon}-->" width="120" height="120"/></p>
								</div>
							</div>
							<div class="control-group">
								<div class="controls">
									<input type="hidden" name="gid" value="<!--{$arrGroup.group_id}-->">
									<button type="submit" class="btn"><!--<lang package='Template'>-->更新<!--</lang>--></button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>

<!--<include file="Core_Extend::template('footer')" />-->